INSQUE

Section: C Library Functions (3)
Updated: May 20, 1986
Index Return to Main Contents
 

NAME

insque, remque - insert/remove element from a queue  

SYNOPSIS

struct qelem {
        struct  qelem *q_forw;
        struct  qelem *q_back;
        char    q_data[];
};

insque(elem, pred)
struct qelem *elem, *pred;

remque(elem)
struct qelem *elem;
 

DESCRIPTION

Insque and remque manipulate queues built from doubly linked lists. Each element in the queue must in the form of ``struct qelem''. Insque inserts elem in a queue immediately after pred; remque removes an entry elem from a queue.


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 17:21:37 GMT, March 25, 2025